package org.example.util;

import lombok.Data;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;

import java.util.Timer;

public class Test {

    protected boolean a;

    public boolean isA() {
        return a;
    }

    public void setA(boolean a) {
        this.a = a;
    }

    public static void main(String[] args) {
        /*Test test = new Test();
        System.out.println(test.a);
        System.out.println(test.isA());*/

        /*String str = "1877175336622403586,1876909521868189697,1879008387446915074";
        String s = "1879008387446915074";
        if(str.contains(s)){
            System.out.println("包含");
        }*/

        Subject subject = SecurityUtils.getSubject();
        System.out.println(subject);

    }
}
